﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Infrastructure
{
    [AttributeUsage(AttributeTargets.Property, Inherited = true)]
    public class EnumNameAttribute : Attribute
    {
        private readonly string enumName = string.Empty;
       
        public EnumNameAttribute(string enumName)
            : base()
        {
            this.enumName = enumName;
        }

        public string EnumName
        {
            get { return enumName; }
        }
    }
}
